package com.szh.cloud.role.entity;

public class SearchRoleEntity {
    /**
     * 角色名称
     */
    private String roleName;

    private String[] roleArray;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public void deal(){
        if(this.roleName != null){
            this.roleArray = this.roleName.split(",");
        }
    }

    @Override
    public String toString() {
        return "SearchRoleEntity{" +
                "roleName='" + roleName + '\'' +
                '}';
    }
}
